package com.ji.protocol;

/**
 * Title:
 * Description:
 * Author:吉
 * Since:2017/5/22
 * Version:1.1.0
 */
public class JCMsgHeader {


    /**
     * |---msgLength(4)--|---------------content-------------------|
     * |-----------------msgLength---------------------------------|
     */

    private int msgLength;

    public JCMsgHeader(int len) {
        this.msgLength=len;
    }


    public int getMsgLength() {
        return msgLength;
    }

    public void setMsgLength(int msgLength) {
        this.msgLength = msgLength;
    }

    @Override
    public String toString() {
        return "JCMsgHeader{" +
                "msgLength=" + msgLength +
                '}';
    }
}
